由 I Feinerer 著作 · 2023 · 被引用 240 次 — Transformations are done via the tm_map() function which applies (maps) a function to all elements of the corpus. Basically, all transformations work on single ...
the tm_map() function is used to remove unnecessary white space, to convert the text to lower case, to remove common stopwords like 'the', “we”. The information ...
a transformation function taking a text document (a character vector when x is a SimpleCorpus ) as input and returning a text document (a character vector of ...
Lazy transformations change R's standard evaluation semantics. See Also. getTransformations for available transformations. Examples. data(crude) ## Document ...